<script setup lang="ts">
defineProps<{
  value?: string
  placeholder: string
}>()
</script>

<template>
  <view class="flex-grow-1 text-center text-30rpx font-medium leading-30rpx" :class="[value ? 'text-#333333' : 'text-#999999']">
    {{ value || placeholder }}>
  </view>
</template>
